Einhugur Xml Plugin for Xojo

Node.Attribute Method

Returns attribute by name or empty attribute if not found, unless if the create parameter is true then if not found a newly appended attribute will be returned.

Attribute(
   name as String,
   create as Boolean) as EinhugurXml.Attribute

Parameters

name
Name of the attribute.
create
Optional parameter where default value is false.

If passing true here then non existing attribute will be automatically appended if needed.

Returns

EinhugurXml.Attribute
The requested attribute, newly appended attribute or empty attribute.

Remarks

See Also

Node Class